import React, { Component } from 'react';
import { NavLink, Outlet } from 'react-router-dom';

export default class Film extends Component {
  render() {
    return (
      <>
        <div className="swiper">Film 轮播</div>
        <ul className="navbar">
          <li>
            <NavLink to="/film/nowPlaying">正在热映</NavLink>
          </li>
          <li>
            <NavLink to="/film/comingSoon">即将上映</NavLink>
          </li>
        </ul>
        <Outlet />
      </>
    );
  }
}
